testsuite: Add memory test support for OpenGL up/downloads
authorBenjamin Otte <otte@redhat.com>
Sat, 11 Sep 2021 22:11:44 +0000 (00:11 +0200)
committerBenjamin Otte <otte@redhat.com>
Sun, 12 Sep 2021 03:54:37 +0000 (05:54 +0200)
commit9179ebb28e8140c91282b6df482934e70746e98b
treee0988e43b0dfed7bc194143a2117ab87de66474c
parentbcc17b30339091f0e81b443c05d3f04bbb5725df
testsuite: Add memory test support for OpenGL up/downloads

Use a GL renderer to upload textures (and then optionally download them
via release() again). This way, we can test that the GL renderer
properly uploads textures to the right formats (not losing information
for HDR for example) and downloads them again.
testsuite/gdk/memorytexture.c